package com.chf.carsystem.users.service;

import java.util.List;
import java.util.Map;

import com.chf.carsystem.users.pojo.Menu;
import com.chf.carsystem.users.pojo.Role;
import com.chf.carsystem.users.pojo.User;

/**
 * service接口
 * @author Administrator
 *
 */
public interface IUserService {

	//查找一个user
	User findOneService(Map<String,Object> findOneMap);

	//更新一个user
	int updateOneUserService(User user);
	
	//查询Role下的所有的菜单
	List<Menu> findListMenusByRoleIdService(int roleId);

	//模糊查询role集合
	List<Role> finCountListRolesService(Map<String, Object> findCoundListMap);
	
}
